package com.qf.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsGoods;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 商品基本信息表 Mapper 接口
 * </p>
 *
 * @author zhaojian
 * @since 2021-05-12
 */
public interface DtsGoodsMapper extends BaseMapper<DtsGoods> {

    /**
     *
     * @return
     */
    @Select("SELECT a.id , a.`name` , a.gallery , a.pic_url , a.keywords , a.brief , a.brand_id " +
            "from dts_goods a " +
            "WHERE deleted=0")
    public IPage<DtsGoods> goodList(IPage iPage , QueryWrapper queryWrapper);
}
